package com.zretc.entity;

import java.util.List;

public class Cinema {
    //影院id
    private String cinemaId;
    //影院名称
    private String cinemaName;
    //影院地址
    private String address;
    // 影院宣传图片
    private String cinemaPicture;
    // 关联一个管理员id
    private String adminId;
    // 管理员对象
    private Admin admin;
    // 管理一个电影集合
    List<Movie> movieList;

    public Cinema() {
    }

    public Cinema(String cinemaId, String cinemaName, String address) {
        this.cinemaId = cinemaId;
        this.cinemaName = cinemaName;
        this.address = address;
    }

    public Cinema(String cinemaId, String cinemaName, String address, String cinemaPicture) {
        this.cinemaId = cinemaId;
        this.cinemaName = cinemaName;
        this.address = address;
        this.cinemaPicture = cinemaPicture;
    }

    public Cinema(String cinemaId, String cinemaName, String address, String cinemaPicture, String adminId, Admin admin, List<Movie> movieList) {
        this.cinemaId = cinemaId;
        this.cinemaName = cinemaName;
        this.address = address;
        this.cinemaPicture = cinemaPicture;
        this.adminId = adminId;
        this.admin = admin;
        this.movieList = movieList;
    }

    public String getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(String cinemaId) {
        this.cinemaId = cinemaId;
    }

    public String getCinemaName() {
        return cinemaName;
    }

    public void setCinemaName(String cinemaName) {
        this.cinemaName = cinemaName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCinemaPicture() {
        return cinemaPicture;
    }

    public void setCinemaPicture(String cinemaPicture) {
        this.cinemaPicture = cinemaPicture;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public Admin getAdmin() {
        return admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public List<Movie> getMovieList() {
        return movieList;
    }

    public void setMovieList(List<Movie> movieList) {
        this.movieList = movieList;
    }

    @Override
    public String toString() {
        return "Cinema{" +
                "cinemaId='" + cinemaId + '\'' +
                ", cinemaName='" + cinemaName + '\'' +
                ", address='" + address + '\'' +
                ", cinemaPicture='" + cinemaPicture + '\'' +
                ", adminId='" + adminId + '\'' +
                ", admin=" + admin +
                ", movieList=" + movieList +
                '}';
    }
}
